package com.nanhai.buddhist.college.module.study.controller.admin.studyadditionalcourses.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 选课管理 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class StudyAdditionalCoursesBaseVO {

    @ApiModelProperty(value = "课程名称", required = true)
    @NotNull(message = "课程名称不能为空")
    private String coursesName;

    @ApiModelProperty(value = "限制人数", required = true)
    @NotNull(message = "限制人数不能为空")
    private Integer limitStudentCount;

    @ApiModelProperty(value = "状态： 0-正常 1-禁用")
    private Integer status;

    @ApiModelProperty(value = "课程开课时间")
    private Date curriculumStartTime;

    @ApiModelProperty(value = "课程结束时间")
    private Date curriculumEndTime;

    @ApiModelProperty(value = "选课开始时间")
    private Date selectStartTime;

    @ApiModelProperty(value = "选课结束时间")
    private Date selectEndTime;

}
